package com.elecbook.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elecbook.base.dto.PageDTO;
import com.elecbook.content.model.dto.ContributeJudgePageDTO;
import com.elecbook.content.model.dto.ContributeJudgeSubmitDTO;
import com.elecbook.content.model.dto.ContributejudgePQuery;
import com.elecbook.content.model.po.Contributejudge;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Z-ken
 * @since 2024/11/05 15:50:50
 */
public interface ContributejudgeService extends IService<Contributejudge> {

    /**
     * description 提交审核结果
     * @author zken
     * @CreateDate 2024/11/5 16:00:26
     */
    Contributejudge submitJudge(ContributeJudgeSubmitDTO dto);

    /**
     * description 进行分页请求
     * @author zken
     * @CreateDate 2024/11/5 16:00:38
     */
    PageDTO<Contributejudge> queryContributeJudgePage(ContributeJudgePageDTO pageDTO);

    /**
     * description 单独获取一个judge信息
     * @author zken
     * @CreateDate 2024/11/13 15:10:11
     */
    Contributejudge getContributeJudgeById(Integer contributeJudgeId);


    //Service新增方法
    PageDTO<Contributejudge> pageQuery(ContributejudgePQuery query);
    Contributejudge saveContributejudge(Contributejudge contributejudge);
    Contributejudge updateContributejudgeById(Contributejudge contributejudge);
}
